@charset "utf-8";
.uBtn,
.border,
.borderT,
.borderR,
.borderB,
.borderL {
  position: relative;
}

.uBtn,
.border,
.borderT,
.borderR,
.borderB,
.borderL {
  &::before {
    content: "\0020";
    overflow: hidden;
    position: absolute;
  }
}

.uBtn,
.border {
  &::before {
    box-sizing: border-box;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 1px solid $c-line; /*no*/
    transform-origin: 0 0;
  }
}

.borderT,
.borderB {
  &::before {
    left: 0;
    width: 100%;
    height: 1px;
  }
}

.borderR,
.borderL {
  &::before {
    top: 0;
    width: 1px;
    height: 100%;
  }
}

.borderT {
  &::before {
    top: 0;
    border-top: 1px solid $c-line; /*no*/
    transform-origin: 0 0;
  }
}

.borderR {
  &::before {
    right: 0;
    border-right: 1px solid $c-line; /*no*/
    transform-origin: 100% 0;
  }
}

.borderB {
  &::before {
    bottom: 0;
    border-bottom: 1px solid $c-line; /*no*/
    transform-origin: 0 100%;
  }
}

.borderL {
  &::before {
    left: 0;
    border-left: 1px solid $c-line; /*no*/
    transform-origin: 0 0;
  }
}

@media (max--moz-device-pixel-ratio: 1.49), (-webkit-max-device-pixel-ratio: 1.49), (max-device-pixel-ratio: 1.49), (max-resolution: 143dpi), (max-resolution: 1.49dppx) {
  /* 默认值，无需重置 */
}

@media (min--moz-device-pixel-ratio: 1.5) and (max--moz-device-pixel-ratio: 2.49), (-webkit-min-device-pixel-ratio: 1.5) and (-webkit-max-device-pixel-ratio: 2.49), (min-device-pixel-ratio: 1.5) and (max-device-pixel-ratio: 2.49), (min-resolution: 144dpi) and (max-resolution: 239dpi), (min-resolution: 1.5dppx) and (max-resolution: 2.49dppx) {
  .uBtn,
  .border {
    &::before {
      width: 200%;
      height: 200%;
      transform: scale(.5);
    }
  }
  .borderT,
  .borderB {
    &::before {
      transform: scaleY(.5);
    }
  }
  .borderR,
  .borderL {
    &::before {
      transform: scaleX(.5);
    }
  }
}

@media (min--moz-device-pixel-ratio: 2.5), (-webkit-min-device-pixel-ratio: 2.5), (min-device-pixel-ratio: 2.5), (min-resolution: 240dpi), (min-resolution: 2.5dppx) {
  .uBtn,
  .border {
    &::before {
      width: 300%;
      height: 300%;
      transform: scale(.33333);
    }
  }
  .borderT,
  .borderB {
    &::before {
      transform: scaleY(.33333);
    }
  }
  .borderR,
  .borderL {
    &::before {
      transform: scaleX(.33333);
    }
  }
}
